class CreateCalendars < ActiveRecord::Migration

  def self.up
    # Calendário
    create_table :calendars do |t|
      t.column :calendartype, :integer
      t.column :begindate, :datetime
      t.column :finaldate, :datetime
      t.column :description, :string
    end
  end

  def self.down
    drop_table :calendars
  end
  
end
